package com.zimi.model;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "PrivilegeFunction对象", description = "菜单")
public class PrivilegeFunction extends Model<PrivilegeFunction> {
    private Integer id;
    private String functionName;
    private Integer parentId;
    private String functionUrl;
    private String functionIcon;

    @Override
    protected Serializable pkVal() {
        return id;
    }
}
